package com.zxkj.domain.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;

/**
 * Created by Administrator on 2017/7/11.
 */

@Entity
public class SciMapDeptDoc {
    @EmbeddedId
    private SciMapDeptDocPK sciMapDeptDocPK;

    public SciMapDeptDoc() {
    }

    public SciMapDeptDoc(Integer deptId, String docId) {
        this.sciMapDeptDocPK = new SciMapDeptDocPK(deptId,docId);
    }

    public SciMapDeptDocPK getSciMapDeptDocPK() {
        return sciMapDeptDocPK;
    }

    public void setSciMapDeptDocPK(SciMapDeptDocPK sciMapDeptDocPK) {
        this.sciMapDeptDocPK = sciMapDeptDocPK;
    }
}

